package com.ws.universal.tools.base;

import java.util.Locale;

public class LanguageBean {

    private String languageName;
    private String languageCode;
    private boolean isChoose;
    private Locale locale;

    public LanguageBean(String languageName, String languageCode, boolean isChoose, Locale locale) {
        this.languageName = languageName;
        this.languageCode = languageCode;
        this.isChoose = isChoose;
        this.locale = locale;
    }

    public String getLanguageName() {
        return languageName;
    }

    public void setLanguageName(String languageName) {
        this.languageName = languageName;
    }

    public String getLanguageCode() {
        return languageCode;
    }

    public void setLanguageCode(String languageCode) {
        this.languageCode = languageCode;
    }

    public boolean isChoose() {
        return isChoose;
    }

    public void setChoose(boolean choose) {
        isChoose = choose;
    }

    public Locale getLocale() {
        return locale;
    }

    public void setLocale(Locale locale) {
        this.locale = locale;
    }

    @Override
    public String toString() {
        return "{" +
                "languageName='" + languageName + '\'' +
                ", languageCode='" + languageCode + '\'' +
                ", isChoose=" + isChoose +
                ", locale=" + locale +
                '}';
    }
}
